const cmd = require('commander')
const chalk = require('chalk')
const ora = require('ora')

cmd
  .command('ui')
  .description('启动UI界面')
  .action(async (args) => {
    const spinner = ora('sky ui start... \n').start()
    setTimeout(() => {
      spinner.stop()
      console.log(chalk.green('\n sky ui start success! \n'))
    }, 5000)
  })
